package third;

import java.util.Scanner;

public class third_19 {
    public static void main(String[] args) {
		Scanner input = new Scanner(System.in);
		System.out.print("�����������ÿո�ֿ���");
		int a=input.nextInt();
		int b=input.nextInt();
		int c=input.nextInt();

		int f=0;
		if(a+b>c)f++;
		if(b+c>a)f++;
		if(a+c>b)f++;
		if(a<=0||b<=0||c<=0)f=0;
		if(f==3) {
			System.out.println(a+b+c);
		}else {
			System.out.println("Error");
		}
    }
}
